package exam2006.question12;

import java.lang.reflect.Field;

public class B extends A {
	private Double y;

	public B() {

	}

	public void test() {
		for (Field f : this.getClass().getDeclaredFields())
			System.out.println(f.getName());
	}

}
